#include <iostream>
#include "tabtenn0.h"


int main(void) {
	using std::cout;
	using std::endl;
	TableTennisPlayer player1("Tara", "Boombea", false);
	RatedPlayer rplayer1(1140, "Mallory", "Duct", true);
	rplayer1.Name();
	if (rplayer1.HasTable())
		cout << ": has a table.\n";
	else
		cout << ": has't a table.\n";
	rplayer1.Name();
	TableTennisPlayer& rt = rplayer1;
	TableTennisPlayer* pt = &rplayer1;
	rt.Name(); // invoke Name() with reference
	pt->Name();


}